Skip to content

ci: pin Foundry to v1.3.6 for reproducible formatting#91

Merged
amiecorso merged 1 commit into
mainfrom
ci/pin-foundry-fmt-v1.3.6
Jul 15, 2026
Merged

ci: pin Foundry to v1.3.6 for reproducible formatting#91
amiecorso merged 1 commit into
mainfrom
ci/pin-foundry-fmt-v1.3.6

Conversation

@amiecorso

Copy link
Copy Markdown
Collaborator

What

Pin CI's Foundry to v1.3.6 (was floating nightly) and add make fmt / make fmt-check helpers.

Why

forge fmt output changes between Foundry versions, and CI used version: nightly — a moving target. Contributors on differing local Foundry versions produce formatting churn that pollutes diffs (e.g. unrelated call-wrapping changes) even when CI happens to pass. Pinning makes forge fmt --check deterministic.

v1.3.6 is the newest release under which main is already clean, so this PR reformats nothing and CI stays green on its own. (The formatter's call-wrapping behavior changed in v1.4.0.)

Changes

  • .github/workflows/test.yml: version: nightlyversion: "v1.3.6"
  • Makefile: make fmt / make fmt-check run the pinned version (installed side-by-side; your default Foundry is untouched)
  • CONTRIBUTING.md: formatting note

Follow-up

Feature branches should rebase on this and run make fmt so their diffs show only the real changes.

- test.yml: pin foundry-toolchain to v1.3.6 (was floating `nightly`)
- Makefile: add `fmt` / `fmt-check` using the pinned version
- CONTRIBUTING.md: document the formatting workflow

Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
@cb-heimdall

cb-heimdall commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

⚠️ Ignored Reviews (1)

Reviewer Reason
stevieraykatz Soft review, as user does not have write permissions

@amiecorso
amiecorso requested a review from stevieraykatz July 15, 2026 14:59
@ilikesymmetry
ilikesymmetry self-requested a review July 15, 2026 17:44
@cb-heimdall

Copy link
Copy Markdown
Collaborator

Review Error for ilikesymmetry @ 2026-07-15 17:45:22 UTC
User failed mfa authentication, see go/mfa-help

@RuoHan-Chen
RuoHan-Chen self-requested a review July 15, 2026 17:53
@cb-heimdall

Copy link
Copy Markdown
Collaborator

Review Error for RuoHan-Chen @ 2026-07-15 17:54:38 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help

@ilikesymmetry

Copy link
Copy Markdown
Collaborator

how many engineers does it take to pass heimdall: 3 apparently

@amiecorso
amiecorso merged commit 98b592b into main Jul 15, 2026
5 of 6 checks passed
@amiecorso
amiecorso deleted the ci/pin-foundry-fmt-v1.3.6 branch July 15, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants